﻿using System;
using System.Xml.Serialization;

namespace DivShare
{
    /// <summary>
    /// Provides a response when user info is requested. This class cannot be inherited.
    /// </summary>
    [Serializable]
    [XmlRoot(ElementName="response")]
    public sealed class GetUserInfoResponse : GeneralResponse
    {
        /// <summary>
        /// Gets or sets the user info.
        /// </summary>
        /// <value>The user info.</value>
        [XmlElement(ElementName="user_info")]
        public UserInfo UserInfo { get; set; }

    }
}
